﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 小鸟飞机超人
{
    class Bird:Animal,IFlyable
    {
        public Bird(string name) : base(name)
        {
        }
        public override void Eat()
        {
            Console.WriteLine("我会吃");
        }

        public void Fly()
        {
            Console.WriteLine("飞行中。。。。");
        }

        public void Land()
        {
            Console.WriteLine("降落");
        }

        public void LayEggs()
        {
            Console.WriteLine("我会下蛋");
        }

        public void TakeOff()
        {
            Console.WriteLine("起飞");
        }
    }
}
